package cn.sfrog.project.biz.admin.domain.vo;

import cn.sfrog.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;


@Data
@ApiModel(description = "转赠记录")
public class BizUserGiveAwayRecordVO {

    @ApiModelProperty("id")
    @Excel(name = "id")
    private Long id;

    @ApiModelProperty("转赠发起人id")
    @Excel(name = "转赠发起人id")
    private Long sponsorUserId;

    @ApiModelProperty("转赠接收人id")
    @Excel(name = "转赠接收人id")
    private Long receiverUserId;

    @ApiModelProperty("转赠人手机号")
    @Excel(name = "转赠人手机号")
    private String receiverUserPhone;

    @ApiModelProperty("转赠金额")
    @Excel(name = "转赠金额")
    private BigDecimal giveAwayAmount;

    @ApiModelProperty("转赠时间")
    @Excel(name = "转赠时间", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date giveAwayTime;

    @ApiModelProperty("状态【0=上架 1=下架】")
    @Excel(name = "状态【0=上架 1=下架】")
    private String status;

    /** 流水号 */
    @ApiModelProperty("流水号")
    private String serialNumber;

    @ApiModelProperty("转赠人名称")
    private String sponsorUserName;
    @ApiModelProperty("转赠人手机号")
    private String sponsorUserPhone;
    @ApiModelProperty("收赠人名称")
    private String receiveUserName;
    @ApiModelProperty("收赠人手机号")
    private String receiveUserPhone;


    @ApiModelProperty("备注")
    @Excel(name = "备注")
    private String remark;

}
